#ifndef CVX_IO_H
#define CVX_IO_H 1

#include <string>
#include <vector>
#include "cvxImage.h"

using std::vector;
using std::string;

class CvxIo
{
public:
	//const char *dir="nv\\*.h"; get .h file names from the dir
	static bool travel_dir(const char *dir, vector<string> &fileName);
	static void save_boundary(FILE *fp, const vector<CvPoint> &bdy);
	static void load_boundary(FILE *fp, vector<CvPoint> &bdy);
};

#endif